package org.forum.service;

import java.util.List;

import org.forum.domain.Forum;
import org.forum.domain.MainTopic;

public interface PersonalHomepageService {
	
	/**
	 * 得到用户关注的论坛
	 * @return
	 */
	public List<Forum> getUserFollowedForums();
	
	/**
	 * 通过用户关注的forum得到相应的MainTopic
	 * @param forums
	 * @param pageN_personalHomepage
	 * @param pageSize
	 * @param sortBy
	 * @return
	 */
	public List<MainTopic> getMainTopicsByFourms(List<Forum> forums, int pageN_personalHomepage, int pageSize, String sortBy);
	
}
